﻿
/*=========================================
* Author: Administrator
* DateTime:2017/6/20 18:28:40
* Description:$safeprojectname$
==========================================*/

namespace OrderSystem
{
    public class OrderSystemEvent
    {
        /// <summary>
        /// 启动
        /// </summary>
        public const string STARTUP = "StartUp";
        /// <summary>
        /// 点菜
        /// </summary>
        public const string CREATE_ORDER = "CREATE_ORDER";
        /// <summary>
        /// 取消点餐
        /// </summary>
        public const string CANCEL_ORDER = "CancelOrder";
        /// <summary>
        /// 呼叫服务员
        /// </summary>
        public const string CALL_WAITER = "CallWaiter";
        /// <summary>
        /// 结账
        /// </summary>
        public const string PAY = "Pay";
        /// <summary>
        /// 服务员接收付款
        /// </summary>
        public const string GET_PAY = "GetPay";
        /// <summary>
        /// 通知厨师
        /// </summary>
        public const string WAITER_WAIT_CLIENT_MENU = "WAITER_WAIT_CLIENT_MENU"; 
        public const string CALL_COOK_MAKE_FOOD = "CALL_COOK_MAKE_FOOD"; 
        public const string WAITER_SEND_ORDER_TO_COOK = "SEND_ORDER_TO_COOK"; 
        /// <summary>
        /// 厨师开始做菜进入工作状态
        /// </summary>
        public const string WAITER_SEND_ORDER_TO_CLIENT = "WAITER_SEND_ORDER_TO_CLIENT"; 
        public const string CLIENT_DELIVE_ORDER_TO_WAITER = "DELIVE_ORDER_TO_WAITER"; 
        public const string CALL_COOK_STATE = "CALL_COOK_STATE"; 
        public const string UPDATE_COOK_WORK_STATE = "UPDATE_COOK_STATE"; 
        public const string MODIFY_COOK_STATE = "MODIFY_COOK_STATE"; 
        public const string CALL_WAITER_SEND_FOOD = "CALL_WAITER_SEND_FOOD"; 
        public const string SEND_FOOD_TO_CLIENT = "SEND_FOOD_TO_CLIENT"; 
        public const string UPDATE_WAITER_VIEW = "UPDATE_WAITER_VIEW"; 
        /// <summary>
        /// 厨师炒完菜进入空闲
        /// </summary>
        public const string End_Cook_State = "End_Cook_State";
        /// <summary>
        /// 上菜
        /// </summary>
        public const string SERVER_FOOD = "ServerFood";
        /// <summary>
        /// 上菜单
        /// </summary>
        public const string UPMENU = "UpMenu";
        /// <summary>
        /// 等待送菜为空闲时间
        /// </summary>
        public const string WAIT_SEND_FOOD = "WAIT_SEND_FOOD";
        public const string UPDATE_WAIT_SEND_FOOD = "UPDATE_WAIT_SEMD_FOOD";
        /// <summary>
        /// 提交菜单
        /// </summary>
        public const string SUBMITMENU = "SubmitMenu";
        /// <summary>
        /// 服务员上菜
        /// </summary>
        public const string WAITER_GET_FOOD_FROM_COOK = "WAITER_GET_FOOD_FROM_COOK";
        public const string FOOD_TO_CLIENT = "FoodToClient";
        /// <summary>
        ///更新服务员取餐的状态
        /// </summary>
        public const string UPDATE_WAITER_GET_FOOD = "UPATE_WAITER_GET_FOOD";
        /// <summary>
        ///等待服务
        /// </summary>
        public const string WAITER_WAIT_CLIENT_HELLO = "WAITER_WAIT_CLIENT_HELLO";
        public const string UPDATE_WAITER_WAIT_CLIENT_HELLO = "UPDATE_WAITER_WAIT_CLIENT_HELLO";

        public const string UPDATE_COOKER_REST_STATE = "UPDATE_COOKER_STATE";

        public const string WAITER_GET_PAY = "WAITER_GET_PAY";
    }
}